<?php
/**
 * Created by PhpStorm.
 * User: Hanson
 * Date: 2016/10/11
 * Time: 23:59
 */

namespace App\Exceptions;


class ModelDuplicateException extends \Exception
{

    public function __construct($msg)
    {
        $this->message = $msg;
    }

    public function __toString()
    {
        return "{$this->message}重复";
    }
}